﻿
#region Imported Namespaces

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

#endregion

namespace TupleGeo.Emergency.CAP {

  /// <summary>
  /// The AlertScope enumeration denotes the intended distribution of the alert message.
  /// </summary>
  [SerializableAttribute()]
  [XmlTypeAttribute(AnonymousType = true, Namespace = "urn:oasis:names:tc:emergency:cap:1.2")]
  public enum AlertScope {

    /// <summary>
    /// <para>
    /// For general dissemination to unrestricted audiences.
    /// </para>
    /// <para>
    /// Xml serialization: <code>Enum</code>, Name: <code>Public</code>
    /// </para>
    /// </summary>
    [XmlEnumAttribute("Public")]
    Public,

    /// <summary>
    /// <para>
    /// For dissemination only to users with a known operational
    /// requirement. See <see cref="Alert.Restriction"/>.
    /// </para>
    /// <para>
    /// Xml serialization: <code>Enum</code>, Name: <code>Restricted</code>
    /// </para>
    /// </summary>
    [XmlEnumAttribute("Restricted")]
    Restricted,

    /// <summary>
    /// <para>
    /// For dissemination only to specified addresses. See <see cref="Alert.Addresses"/>.
    /// </para>
    /// <para>
    /// Xml serialization: <code>Enum</code>, Name: <code>Private</code>
    /// </para>
    /// </summary>
    [XmlEnumAttribute("Private")]
    Private,

  }

}
